class LeadsConsts {

  static List<Map> genderList = [
    {"label": "先生", "value": "先生"},
    {"label": "女士", "value": "女士"},
  ];

  static List<Map> levelList = [
    {"label": "H", "value": "H"},
    {"label": "A", "value": "A"},
    {"label": "B", "value": "B"},
    {"label": "C", "value": "C"},
    {"label": "N", "value": "N"},
  ];

  static List<Map> customTypeList = [
    {"label": "个人", "value": "个人"},
    {"label": "公司", "value": "公司"},
  ];

  static List<Map> leadsSourceList = [
    {"label": "懂车帝", "value": "懂车帝"},
    {"label": "汽车之家", "value": "汽车之家"},
    {"label": "自然到店", "value": "自然到店"},
    {"label": "新媒体", "value": "新媒体"},
  ];

  static List<Map> activityList = [
    {"label": "市场活动一", "value": "市场活动一"},
    {"label": "市场活动二", "value": "市场活动二"},
    {"label": "市场活动三", "value": "市场活动三"},
    {"label": "市场活动四", "value": "市场活动四"},
  ];

  static List<Map> documentTypeList = [
    {"label": "身份证", "value": "身份证"},
    {"label": "护照", "value": "护照"},
    {"label": "机构代码", "value": "机构代码"},
    {"label": "统一社会信用代码", "value": "统一社会信用代码"},
    {"label": "其他", "value": "其他"},
  ];

  static List<Map> yesOrNoList = [
    {"label": "是", "value": "是"},
    {"label": "否", "value": "否"},
  ];

  static List<Map> customTagList = [
    {"label": "客户标签1", "value": "客户标签1"},
    {"label": "客户标签2", "value": "客户标签2"},
    {"label": "客户标签3", "value": "客户标签3"},
    {"label": "客户标签4", "value": "客户标签4"},
    {"label": "客户标签5", "value": "客户标签5"},
  ];

  static List<Map> followUpTypeList = [
    {"label": "到店", "value": "到店"},
    {"label": "短信", "value": "短信"},
    {"label": "电话", "value": "电话"},
    {"label": "邮件", "value": "邮件"},
    {"label": "微信", "value": "微信"},
    {"label": "试驾", "value": "试驾"},
    {"label": "其他", "value": "其他"},
  ];

  static List<Map> followUpResultList = [
    {"label": "继续", "value": "继续"},
    {"label": "战败", "value": "战败"},
    {"label": "无效", "value": "无效"},
  ];

  static List<Map> defeatReasonList = [
    {"label": "已购买其他品牌车辆", "value": "已购买其他品牌车辆"},
    {"label": "客户使用其他手机号订车", "value": "客户使用其他手机号订车"},
    {"label": "其他", "value": "其他"},
  ];

  static List<Map> ineffectiveReasonList = [
    {"label": "电话无效", "value": "电话无效"},
    {"label": "拒接电话", "value": "拒接电话"},
  ];

  static List<Map> adviserList = [
    {"label": "销售顾问一", "value": "销售顾问一"},
    {"label": "销售顾问二", "value": "销售顾问二"},
    {"label": "销售顾问三", "value": "销售顾问三"},
    {"label": "销售顾问四", "value": "销售顾问四"},
    {"label": "销售顾问五", "value": "销售顾问五"},
    {"label": "销售顾问六", "value": "销售顾问六"},
  ];

  static List<Map> carModelList = [
    {"label": "Y6", "value": "Y6"},
    {"label": "Y7", "value": "Y7"},
    {"label": "H8", "value": "H8"},
    {"label": "H9", "value": "H9"}
  ];

  static int getDayLimit(level) {
    int dayLimit = 7;
    switch(level) {
      case 0:
        dayLimit = 7;
        break;
      case 1:
        dayLimit = 15;
        break;
      case 2:
        dayLimit = 30;
        break;
      case 3:
        dayLimit = 90;
        break;
      case 4:
        dayLimit = 1;
        break;
      default:
        dayLimit = 1;
    }
    return dayLimit;
  }


}